package com.atguigu.encapsolation.one;

public class Father {//父亲
    private int a;
    int b;
    protected int c;
    public int d;

    public void show(){//成员方法，本类的方法，可以访问本类的所有成员变量（不讨论静态非静态问题），只看权限修饰符问题
        System.out.println("a = " + a);
        System.out.println("b = " + b);
        System.out.println("c = " + c);
        System.out.println("d = " + d);
    }
}
